package com.orange.project.client.pojo;

import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2025/8/16 23:32
 */
@Data
@ToString
public class ClientShareReq {

    @NotNull
    @Length(min = 4, max = 5, message = "用户ID长度应为4个字符")
    private String uids;

    @NotNull
    @Email(regexp = "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$", message = "请输入有效的电子邮件地址")
    private String langId;

    private String content;

}
